﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;


using Web.Core;
using Web.Core.Objects;
public partial class include_SanPhamDacBiet : System.Web.UI.UserControl
{
    public string url;

    protected void Page_Load(object sender, EventArgs e)
    {
        //switch (Module.ToLower())
        //{ 
        //    case "product_special":
        
        //        break;
        //    case "product_bestseller":
        //        this.Repeater1.DataSource = Products.GetBestSellers(int.Parse(Session["Language"].ToString()));
        //        break;
        //    case "product_newest":
        //        this.Repeater1.DataSource = Products.GetProductsNewest(10, int.Parse(Session["Language"].ToString()));
        //        break;
        //    default:
        //        break;
        //}
        this.Repeater1.DataSource = Products.GetProductsSpecial(10, int.Parse(Session["Language"].ToString()));
        Repeater1.DataBind();
        url = Request.Url.AbsolutePath + "?act=";
    }
}
